Skip to content

feat(plugin): add health check diagnostic module#949

Merged
JeremyDev87 merged 1 commit intomasterfrom
feat/plugin-health-check-943
Mar 26, 2026
Merged

feat(plugin): add health check diagnostic module#949
JeremyDev87 merged 1 commit intomasterfrom
feat/plugin-health-check-943

Conversation

@JeremyDev87
Copy link
Owner

Summary

  • Add HealthChecker class with 7 diagnostic checks: hooks.json validity, hook files existence, history.db schema integrity, settings.json UserPromptSubmit hook registration, codingbuddy.config.json parsing, secrets.json permissions (0o600), and events/ directory existence
  • Each check returns structured {check, status, message} with PASS/WARN/FAIL semantics
  • format_report() method for human-readable diagnostic output
  • 22 tests covering all checks, edge cases, run_all(), and format_report()

Test plan

  • 22 unit tests pass (pytest tests/test_health_check.py)
  • Full test suite 191 tests pass with no regressions
  • CI checks pass: lint, format, typecheck, test:coverage, circular, build

Closes #943

- HealthChecker class with 7 diagnostic checks:
  hooks.json validity, hook files existence, history.db schema,
  settings.json hook registration, config parsing, secrets permissions,
  events directory
- format_report() for human-readable PASS/WARN/FAIL output
- 22 tests covering all checks and edge cases

Closes #943
@vercel
Copy link

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Mar 26, 2026 6:42am

@JeremyDev87 JeremyDev87 self-assigned this Mar 26, 2026
@JeremyDev87 JeremyDev87 merged commit 9d4ddab into master Mar 26, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/plugin-health-check-943 branch March 26, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Plugin health check — /codingbuddy doctor diagnostic command

1 participant